package com.quicks.beauty.server.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@ConfigurationProperties(prefix = "wx", ignoreUnknownFields = true)
@Component
public class WXConfig {

	private String baseUrl;

	private String appId;

	private String appSecret;

	private String serverUrl;

	private String codeSession;

	private String clientIp;

	private String merchantId;

	private String apiKey;

	private String deliveryId;

	private String deliveryName;

	private String sfCode;

	public String getCodeSession() {
		return codeSession;
	}

	public void setCodeSession(String codeSession) {
		this.codeSession = codeSession;
	}

	public String getBaseUrl() {
		return baseUrl;
	}

	public void setBaseUrl(String baseUrl) {
		this.baseUrl = baseUrl;
	}

	public String getAppId() {
		return appId;
	}

	public void setAppId(String appId) {
		this.appId = appId;
	}

	public String getAppSecret() {
		return appSecret;
	}

	public void setAppSecret(String appSecret) {
		this.appSecret = appSecret;
	}

	public String getServerUrl() {
		return serverUrl;
	}

	public void setServerUrl(String serverUrl) {
		this.serverUrl = serverUrl;
	}

	public String getClientIp() {
		return clientIp;
	}

	public WXConfig setClientIp(String clientIp) {
		this.clientIp = clientIp;
		return this;
	}

	public String getMerchantId() {
		return merchantId;
	}

	public WXConfig setMerchantId(String merchantId) {
		this.merchantId = merchantId;
		return this;
	}

	public String getApiKey() {
		return apiKey;
	}

	public WXConfig setApiKey(String apiKey) {
		this.apiKey = apiKey;
		return this;
	}

	public String getDeliveryId() {
		return deliveryId;
	}

	public void setDeliveryId(String deliveryId) {
		this.deliveryId = deliveryId;
	}

	public String getDeliveryName() {
		return deliveryName;
	}

	public void setDeliveryName(String deliveryName) {
		this.deliveryName = deliveryName;
	}

	public String getSfCode() {
		return sfCode;
	}

	public void setSfCode(String sfCode) {
		this.sfCode = sfCode;
	}

}
